Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(min2(x, y), x, y)
cond3(y, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)



QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(min2(x, y), x, y)
cond3(y, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)


Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)
COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> MIN2(x, y)
MINUS2(x, y) -> COND3(min2(x, y), x, y)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(min2(x, y), x, y)
cond3(y, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)
COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> MIN2(x, y)
MINUS2(x, y) -> COND3(min2(x, y), x, y)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(min2(x, y), x, y)
cond3(y, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 2 SCCs with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
QDP
            ↳ UsableRulesProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(min2(x, y), x, y)
cond3(y, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)

R is empty.
The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(min2(x, y), x, y)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(min2(x, y), x, y)
cond3(y, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(min2(x, y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

cond3(x0, x1, x0)
minus2(x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(min2(x, y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule MINUS2(x, y) -> COND3(min2(x, y), x, y) at position [] we obtained the following new rules:

MINUS2(x0, 0) -> COND3(0, x0, 0)
MINUS2(0, x0) -> COND3(0, 0, x0)
MINUS2(s1(x0), s1(x1)) -> COND3(s1(min2(x0, x1)), s1(x0), s1(x1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
QDP
                        ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(s1(x0), s1(x1)) -> COND3(s1(min2(x0, x1)), s1(x0), s1(x1))
COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(0, x0) -> COND3(0, 0, x0)
MINUS2(x0, 0) -> COND3(0, x0, 0)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
QDP
                            ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(s1(x0), s1(x1)) -> COND3(s1(min2(x0, x1)), s1(x0), s1(x1))
COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(0, x0) -> COND3(0, 0, x0)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule MINUS2(0, x0) -> COND3(0, 0, x0) we obtained the following new rules:

MINUS2(0, s1(z0)) -> COND3(0, 0, s1(z0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Instantiation
QDP
                                ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(0, s1(z0)) -> COND3(0, 0, s1(z0))
COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(s1(x0), s1(x1)) -> COND3(s1(min2(x0, x1)), s1(x0), s1(x1))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Instantiation
                              ↳ QDP
                                ↳ DependencyGraphProof
QDP
                                    ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(s1(x0), s1(x1)) -> COND3(s1(min2(x0, x1)), s1(x0), s1(x1))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule COND3(y, x, y) -> MINUS2(x, s1(y)) we obtained the following new rules:

COND3(s1(y_0), s1(z0), s1(y_0)) -> MINUS2(s1(z0), s1(s1(y_0)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Instantiation
                              ↳ QDP
                                ↳ DependencyGraphProof
                                  ↳ QDP
                                    ↳ Instantiation
QDP
                                        ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(s1(x0), s1(x1)) -> COND3(s1(min2(x0, x1)), s1(x0), s1(x1))
COND3(s1(y_0), s1(z0), s1(y_0)) -> MINUS2(s1(z0), s1(s1(y_0)))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule MINUS2(s1(x0), s1(x1)) -> COND3(s1(min2(x0, x1)), s1(x0), s1(x1)) we obtained the following new rules:

MINUS2(s1(z1), s1(s1(z0))) -> COND3(s1(min2(z1, s1(z0))), s1(z1), s1(s1(z0)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Instantiation
                              ↳ QDP
                                ↳ DependencyGraphProof
                                  ↳ QDP
                                    ↳ Instantiation
                                      ↳ QDP
                                        ↳ Instantiation
QDP
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(s1(z1), s1(s1(z0))) -> COND3(s1(min2(z1, s1(z0))), s1(z1), s1(s1(z0)))
COND3(s1(y_0), s1(z0), s1(y_0)) -> MINUS2(s1(z0), s1(s1(y_0)))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof

Q DP problem:
The TRS P consists of the following rules:

COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(min2(x, y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
cond3(x0, x1, x0)
minus2(x0, x1)
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

cond3(x0, x1, x0)
minus2(x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP

Q DP problem:
The TRS P consists of the following rules:

COND3(y, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(min2(x, y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
min2(x0, 0)
min2(0, x0)

We have to consider all minimal (P,Q,R)-chains.